package com.ttech.twitter.bean;

import sun.security.timestamp.TimestampToken;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * User: TTACANSEVER
 */
public class TweetDbObject implements Serializable {

    private long tweetId;
    private String screenName;
    private String tweetText;
    private double latitude;
    private double longitude;
    private String profileImageUrl;
    private String type;
    private Timestamp tweetTime;

    public TweetDbObject() {
    }

    public TweetDbObject(long tweetId, String screenName, String tweetText, double latitude, double longitude, String profileImageUrl, String type, Timestamp tweetTime) {
        this.tweetId = tweetId;
        this.screenName = screenName;
        this.tweetText = tweetText;
        this.latitude = latitude;
        this.longitude = longitude;
        this.profileImageUrl = profileImageUrl;
        this.type = type;
        this.tweetTime = tweetTime;
    }

    public long getTweetId() {
        return tweetId;
    }

    public void setTweetId(long tweetId) {
        this.tweetId = tweetId;
    }

    public String getScreenName() {
        return screenName;
    }

    public void setScreenName(String screenName) {
        this.screenName = screenName;
    }

    public String getTweetText() {
        return tweetText;
    }

    public void setTweetText(String tweetText) {
        this.tweetText = tweetText;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public String getProfileImageUrl() {
        return profileImageUrl;
    }

    public void setProfileImageUrl(String profileImageUrl) {
        this.profileImageUrl = profileImageUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Timestamp getTweetTime() {
        return tweetTime;
    }

    public void setTweetTime(Timestamp tweetTime) {
        this.tweetTime = tweetTime;
    }
}
